package com.hullbreach.rogue;

import java.util.ArrayList;
import java.util.List;

import org.andengine.opengl.texture.region.TiledTextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.util.debug.Debug;


public class Player extends LivingEntity {

		// ===========================================================
		// Constants
		// ===========================================================

		// ===========================================================
		// Fields
		// ===========================================================		
	
		// ===========================================================
		// Constructors
		// ===========================================================

		public Player(final float pX, final float pY, final TiledTextureRegion pTiledTextureRegion, final VertexBufferObjectManager pVertexBufferObjectManager) {
			super(pX, pY, pTiledTextureRegion, pVertexBufferObjectManager);
			
			this.health = 100;
			this.experience = 0;
			this.strength = 1;
			this.speed = 100;
			this.energy = 0;		
			this.tileX = Math.round(pX * 16);
			this.tileY = Math.round(pY * 16);
			this.mBuffList = new ArrayList<Object>();

		}

		// ===========================================================
		// Methods for/from SuperClass/Interfaces
		// ===========================================================

		@Override
		public void move( final int pX, final int pY) {
			
		}
		
		@Override
		public int act()
		{
			Debug.e("Player: at x location " + this.tileX + "," + this.tileY );
			return 0;
		}

		// ===========================================================
		// Methods
		// ===========================================================

	}
